package com.mairuide.robot.participles;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.mairuide._frame.base.BaseModel;

/**
 * 机器人分词表
 * @author MH
 *
 */
@Entity
@Table(name="TB_M_PARTICIPLES")
public class MParticiples extends BaseModel {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	@Id
    @Column(name = "Q_ID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "M_PARTICIPLES")
	@SequenceGenerator(name = "M_PARTICIPLES", sequenceName = "SEQ_M_PARTICIPLES",allocationSize=1)
	private Integer qId;
	
	/**
	 * 分词
	 */
	@Column(name = "PARTICIPLES")
	private String participles;
	
	/**
	 * 优先级
	 */
	@Column(name = "PRIORITY")
	private Integer priority;
	
	/**
	 * 问题表id 
	 */
	@Column(name = "QP_ID")
	private Integer qpId;
	
	/**
	 * 创建人id
	 */
	@Column(name = "CREATE_ID")
	private Integer createId;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;

	public Integer getqId() {
		return qId;
	}

	public void setqId(Integer qId) {
		this.qId = qId;
	}

	public String getParticiples() {
		return participles;
	}

	public void setParticiples(String participles) {
		this.participles = participles;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getQpId() {
		return qpId;
	}

	public void setQpId(Integer qpId) {
		this.qpId = qpId;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
